package com.ewzj.bigdata.di.module

import com.ewzj.bigdata.mvp.contract.DecorateContract
import com.ewzj.bigdata.mvp.model.DecorateModel
import com.jess.arms.di.scope.ActivityScope
import dagger.Module
import dagger.Provides

/**
 * author:zhangjing
 * 作用:
 * return:
 */
@ActivityScope
@Module
class DecorateModule(val view: DecorateContract.View){
    @ActivityScope
    @Provides
    fun provideView(): DecorateContract.View{
        return view
    }
    @ActivityScope
    @Provides
    fun provideModle(model: DecorateModel): DecorateContract.Model{
        return model
    }
}